// 防止头文件重复包含的机制
#ifndef __LED_H__
#define __LED_H__ 

#define RED GPIO_PIN_28
#define GREEN GPIO_PIN_13
#define BLUE GPIO_PIN_12

#define RED_PORT  GPIOA 
#define GREEN_PORT GPIOE
#define BLUE_PORT GPIOB

#define ON HIGH_LEVEL
#define OFF LOW_LEVEL

void hal_led_init(void);
void hal_led_flash(void);
void led_control(int color, int s);

#endif 
